Bellman equation for applications to economics.